package com.huiyeji.dynamic.core;

public class ContextObjectItem {

    private Object object;

    private boolean isGlobal;

    public ContextObjectItem(Object object, boolean isGlobal) {
        this.object = object;
        this.isGlobal = isGlobal;
    }

    protected void setGlobal(boolean isGlobal){
        this.isGlobal = isGlobal;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public boolean isGlobal() {
        return isGlobal;
    }
}
